package com.rockcent.wechat.payment;

import com.rockcent.common.utils.RDigestUtils;

import java.util.Date;
import java.util.Random;

/**
 * Created by HK on 16/10/28.
 * 微信支付 扩展参数
 */
public class WechatPaymentAttach {
    private String domain;
    private String code = RDigestUtils.md5Hex(new Date().getTime() + new Random().nextInt() + "");// 用于微信回调安全性,一次性使用

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getDomain() {
        return domain;
    }

    public void setDomain(String domain) {
        this.domain = domain;
    }

}
